<style type="text/css">
	.qiyeliebiao .Speed{height: 6px;background: #666;width: 70%;border-radius: 4px;overflow: hidden;argin-top: 6px;}
	.train_liebioao_header_left .headdiv{z-index: 2; height: 32px;line-height: 30px;

		display: block;
		color: #807a62;
		cursor: pointer;
		font-style: normal;
		padding-left: 4px;
		border: 1px solid #333333;
		no-repeat right center;}			
	.train_liebioao_header_left .headdiv a {display: block;	height: 30px;color: #333333;text-decoration: none;		padding-left: 10px;			padding-right: 10px;}
	.train_liebioao_header_left .headdiv a:hover{background-color: #ccc;}
	.knowledge_structure_add_main .active span{ background: #3399ff !important; }
	.knowledge_structure_add_main .danxuan { width: 12px; height: 12px; border-radius:50%; overflow:hidden;  border: 1px #ddd solid;float:left; margin-right: 10px; margin-top: 3px; padding: 3px; cursor: pointer;}
	.knowledge_structure_add_main .danxuan span{width: 100%; height: 100%;border-radius:50%; display: block;background: #999999;}
	.knowledge_structure_add_main .duoxuan{ width: 12px; height: 12px; overflow:hidden;  border: 1px #ddd solid;float:left; margin-right: 10px; margin-top: 3px; padding: 3px;cursor: pointer;}
	.knowledge_structure_add_main .duoxuan span{width: 100%; height: 100%;display: block; background: #999999;}
	.train_liebiao_Add{ color:#3399ff;  }
	.knowledge_structure_add_jdszs{ margin: 10px 5px; border: 1px #ddd solid; position: relative;  }
	.knowledge_structure_add_jdszs:hover{ border: 1px #3399ff solid; }
	.knowledge_structure_add_jdszs .clearthis{display: none;}
	.knowledge_structure_add_jdszs:hover .clearthis{display:block;  background:#3399ff;color:#fff; position: absolute; top: 0; right: 0; cursor: pointer; text-align: center; padding: 3px }
	.knowledge_structure_add_jdszs .clearthis .iconfont{margin-right: 0}
	.knowledge_structure_add_jdszs:hover .clearthis:hover{ background:red;}
	.knowledge_structure_adddy .knowledge_structure_add_jdsz>li:hover{ cursor: default; }
	.qiyeliebiao_kecehngshu{ text-align: center!important; overflow: hidden; max-height: 50px;}
	.exam_set_questions_score{width:500px;height:600px;position:relative;top:20%;margin:0auto;border-radius:3px;overflow:hidden;}
	.exam_que_btn{border: 1px solid #ccc;padding: 5px 6px;display: inline-block;padding: 6px 12px;margin-bottom: 0;font-size: 12px;font-weight: 400;line-height: 1.42857143;text-align: center;white-space: nowrap;         vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:4px;}
	.exam_que_dropdown {z-index:9; width:120px !important;  min-width:120px !important;}
	.exam_que_dropdown li {width:90px;}
</style>
<div class="traintask" ng-controller="questionsmanagercontroller">
	<div class="train_liebioao_header">

		<div class="train_liebioao_header_left">
            <div ng-click="gobackexam()" ng-show="params.paper_id!=''" class="train_liebiao_delect" style="color:#39f;">
                    <svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-shangyiye2"></use></svg>
                    返回上一级</div>        
			
				<span style="float:left;">筛选条件{{questionType}}: </span>
				<div ng-click="clickFunSHow()" class="headdiv">
					<div>
						<span   ng-model="screenobj">{{screenobj.name}}</span>
                        <span class="caret"></span>
						<ul ng-show="cite" style="background-color: #fff; width: 100%;" >
							<li ng-repeat="list in screenlist" ng-click="screenFun(list)" ><a >{{list.name}}</a></li>

						</ul>						
					</div>

				</div>
				<div ng-show="screenobj.num!='3'"><input type="text" ng-click="screenFun()" ng-model="searchText" placeholder="请输入{{screenname}},支持模糊查询"  style="width: 200px;"></div>
                <div  ng-show="screenobj.num=='3'" >
                    <select ng-model="questionType" ng-change="typeChange()" style="padding:5px;border:0;">
                        <!--<option value="">请选择题型</option>-->
                        <option ng-repeat="item in questions_Typelist" ng-value="item.num" ng-bind="item.name"></option>
                       <!-- <optgroup  ng-repeat="item in questions_Typelist" ng-value="item.num" ng-bind="item.name"></optgroup>-->
                    </select>
                </div>
				<div ng-show="buttonshow" ng-click="ButtonGet()"><svg class="icon"  aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-sousuo"></use></svg>确认筛选</div>
			</div>
             <!--试题选择-->
            <knowledge-selector know-config="knowConfigQuestions" ng-if="knowConfigQuestions.isShow" on-callback="onCallbackCheckQuestions()"></knowledge-selector>
            <!--修改题目分数弹框-->
            <div class="knowledgebase_xinjian_body" ng-if="setQuestionsScoreShow">                    
                    <div class="knowledgebase_selection_tool exam_set_questions_score">
                        <header style="border:1px solid #ccc">                                       
				                <ul>
				                    <li>                                    
                                        设置题目分数
                                    </li>
				                </ul>				                        
                                <div class="close" ng-click="closeQuestionsScore()" style="top:8px;">
                                    <span>+</span>
                                </div>
		                </header>                              
                            <section class="knowledge_kecheng_section" style="border:1px solid #ccc">   
                            <div class="knowledgebase_selection_tool_main" style="color:#000;">
                	            <div class="knowledgebase_selection_tool_main_check">
                                <!--// 筛选 1 单选 2 多选 3 判断 4 问答 5 填空 6 B型题 7 综合题-->
                                   
                                    <div ng-repeat="quesItem in questionsScoreList" ng-if="quesItem.num > 0">
                                        <div ng-if="quesItem.type != 6 && quesItem.type != 7">  <span style="margin: 2px 10px;" ng-bind="quesItem.name">单选题</span><input type="text"  ng-model="quesItem.score"/>分 共{{quesItem.num}}题 共{{quesItem.score * quesItem.num}}分</div>
                                        <div ng-if="quesItem.type == 6 || quesItem.type == 7">  <span style="margin: 2px 10px;" ng-bind="quesItem.name">单选题</span><input type="text"  ng-model="quesItem.score"/>分 共{{quesItem.num}}题 共 {{quesItem.cnum}} 小题  共{{quesItem.score * quesItem.cnum}}分</div>                                      
                                    </div>                                                                   
                                </div>                                    
                                <div class="renyuanmaore" style="height:60px">
                                    <div class="exam_que_btn" style="color:#000" ng-click="closeQuestionsScore()" >取消</div>
                                    <div class="exam_que_btn"  style=" background:#39f; color:#fff;" ng-if="isBtnQuestionsLoading">
                                        <btnloading isbtnload="isBtnQuestionsLoading" style="padding-right: 6px;margin-top: 2px;"></btnloading>
                                    </div>                   
                                    <div class="exam_que_btn" style=" background:#39f; color:#fff;" ng-click="saveQuestionsScore()" ng-if="!isBtnQuestionsLoading">确定</div>
                                </div>
                            </div>
                            </section>                                          
                    </div>                                                                                  
            </div>
            
            <!--题库头-->
			<div class="train_liebioao_header_right" ng-if="!params.paper_id">                               
                <div ng-click="isHideFun(2)"  class="train_liebiao_Add" btncon="btnAllAdd" btn-obj="btnlist"    fun="1" >
                    <svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-denglu"></use></svg>
                    <span>批量新增</span></div>
                <div ng-click="isHideFun(0)" class="train_liebiao_Add" btncon="btnAdd" btn-obj="btnlist"    fun="1" >
                    <svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg>
                    <span>单题新增</span></div>
                <div ng-click="isHideFun(1)" class="train_liebiao_Add" btncon="btnUpd" btn-obj="btnlist"  fun="1">
                    <svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-bi-copy"></use></svg>
                    <span>编辑题目</span></div>
                <div ng-click="Del('')" class="train_liebiao_delect" style="margin-right: 20px;" btncon="btnDel" btn-obj="btnlist"  fun="1">
                    <svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-shanchu"></use></svg>
                    删除</div>  				
                <a class="btn queding" target="_blank" ng-click="exportQue()">导出Excel</a> 
			</div>
            <!--试卷中题库的头-->
            <div ng-if="params.paper_id!=''" class="train_liebioao_header_right">
                <div ng-click="questionDrapDownIsShow = true" ng-mouseleave="questionDrapDownIsShow = false" style="height:45px;">
                    <svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg>
                    新增题目<span class="caret"></span>
                    <ul class="dropdown-menu exam_que_dropdown"  ng-show="questionDrapDownIsShow" style="color:#39f;"> 
                        <li class="traintask_top_pxjd_all" ng-click="questionsOpen()"  btncon="btnAllAdd" btn-obj="btnlist"    fun="1" >
                            <svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg>
                            <span>题库选题</span>
                        </li>
                        <li class="traintask_top_pxjd_wks" ng-click="isHideFun(2)"  btncon="btnAllAdd" btn-obj="btnlist"    fun="1" >
                                <svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-denglu"></use></svg>
                            <span>批量新增</span>
                        </li>
                        <li class="traintask_top_pxjd_jxz" ng-click="isHideFun(0)" btncon="btnAdd" btn-obj="btnlist"    fun="1" >
                                <svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg>
                                <span>单题新增</span></li>                            
                    </ul>
                </div>
                    
                    
                    <div ng-click="isHideFun(1)" class="train_liebiao_Add"  btncon="btnUpd" btn-obj="btnlist"  fun="1">
                        <svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-bi-copy"></use></svg>
                        <span>编辑题目</span></div>                    
                    <div ng-click="Del('')" class="train_liebiao_delect"  btncon="btnDel" btn-obj="btnlist"  fun="1">
                        <svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-shanchu"></use></svg>
                        删除</div>                   
                    <div class="exam_que_btn" style=" background:#39f; color:#fff; width:80px;" ng-click="subCreateHtml()">                    
                        <span ng-if="!subCreateHtmlLoading">重新生成试卷</span>
                        <btnloading isbtnload="subCreateHtmlLoading" style="height:17px;"></btnloading>
                    </div>                    
            </div>
		</div>

        <div class="traintask_main">
        <!--Loading-->
        <loading isloading="isloading"></loading>       
                
        <div class="traintask_main_liebiao">
         <div ng-show="params.paper_id!=''">注意：题目如果为空那么将影响试卷预览</div>
            <table class="tab">
             <!-- 标题-->
                <thead><tr>
                    <th><div class="traintask_main_liebiao_checkbox">
                            <div class="liebiaocheck-box" ng-click="selectAll()" ng-class="{selected:select_all}">
                                <!--添加selected为选中样式-->
                                <span class="iconfont">&#xe67a;</span>
                            </div>
                            <div class="traintask_main_liebiaoli_xiugai" ng-if="false">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-xiugai"></use></svg>
                            </div>
                        </div></th>
                    <th style=" width:490px;">题目名称</th>
                    <th>题目答案</th>
                    <th>题目分类</th>
                    <th>题目类型</th>
                    <th>出题人</th>
                    <th align=left>创建时间</th>
                    <th ng-show="params.paper_id!=''" >分数</th>
                    <th  ng-mouseleave="ShowOk=false"><div class="qiyeliebiao_qiyeguanli" style=" position: relative;padding: 4px 0;font-size: 13px;-webkit-align-self: center;text-align: left;color: #39f;"  >
                                    <div ng-mouseover="ShowOk=true"  tooltips tooltip-template="再次选择相同的筛选类型将进行升序/降序操作">

                                <i  ng-if="orderby=='asc'" class="iconfont">&#xec4f;</i>
                                <i  ng-if="orderby=='desc'" class="iconfont">&#xe6b1;</i>
                                {{OrderName}}
                                <ul   ng-mouseleave="ShowOk=false" ng-show="ShowOk" style="z-index: 11; right: 0; top: 30px; width: 130px; left: 0; box-shadow: 1px 0px 15px #ccc; border: 0;" class="dropdown-menu">
                                    <li ng-repeat="order in orderlist" ng-click="OrderByFun(order.num,order.name)">
                                        {{order.name}}
                                    </li>
                                </ul>
                            </div></th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-if="List.length <=0 && !isloading"> <!--空值-->
                        <td colspan="8">
                            <center style="margin:100px auto;">
                                <img src="/images/null/null.png" />
                                <div style="font-size:30px;color:#a3a3a3;"  ng-bind="'Null' | T"></div>
                            </center>
                            <center isloading="examLoading" ng-if="examLoading">
                                <img src="/images/examnull.gif" />
                            </center>
                        </td>
                    </tr>
                    
                    <tr  ng-repeat="questionitem in List" ng-class="{selected:containsList(selectList,questionitem)>=0}">
                    <td class="tdshou"><div class="traintask_main_liebiao_checkbox">
                            <div class="liebiaocheck-box" ng-click="setCheck(questionitem,$event)" ng-class="{selected:containsList(selectList,questionitem)>=0}">
                                <!--添加selected为选中样式-->
                                <span class="iconfont">&#xe67a;</span>
                            </div>
                            <div class="traintask_main_liebiaoli_xiugai" ng-click="addinfo(questionitem)">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-bianji"></use></svg>
                            </div>
                        </div></td>
                    <td class="tdshou" ng-bind-html="questionitem.question_name|to_img">题目名称</td>
                    <td  class="tdshou" align="center">{{bindquestions_answer(questionitem)}}</td>
                    <td class="tdshou"  align="center">{{questionitem.knowledge_Name}}</td>
                    <td class="tdshou"  align="center">{{bindquestions_Typelist(questionitem.questions_Type)}}</td>
                    <td class="tdshou"  align="center" ng-style="{width:(questionitem.score&&params.paper_id!='')?'9%':'12%'}">{{questionitem.create_Name}}</td>
                    <td class="tdshou"  ng-style="{width:(questionitem.score&&params.paper_id!='')?'9%':'12%'}"><div class="traintask_main_liebiao_pxkstime_sj" ng-bind="questionitem.create_Date | to_time">
                                00:00</div>
                            <div class="traintask_main_liebiao_pxkstime_data" ng-bind="questionitem.create_Date | to_date">
                                0000-00-00</div></td>
                    <td  align="center" ng-show="questionitem.score&&params.paper_id!=''" >{{questionitem.score}}分</td>
                    <td  align="center" style="position: relative;"><div ng-mousemove="trainObj.isToolShow=true" ng-mouseleave="trainObj.isToolShow = false">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-ttpodicon1"></use></svg>
                                <ul class="dropdown-menu" ng-if="trainObj.isToolShow" style="position: absolute;top: 10px;z-index: 999;">
                                    <li ng-click="addinfo(questionitem)">
                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-bianji"></use></svg>
                                        编辑题目</li>
                                    
                                            <li no-click="Delete" mnt="Del(questionitem)">
                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shanchu"></use></svg>
                                        删除题目</li>

                                </ul>
                            </div></td>
                    </tr>
                </tbody>
            </table>


            <tm-pagination ng-show="List.length>0" conf="paginationConf" ></tm-pagination>
			<knowledge-selector know-config="knowConfig" on-callback="onCallbackSer(knowConfig)" ng-if="knowConfig.isShow"></knowledge-selector>
        </div>
    </div>
    <input type="file" nv-file-select="" uploader="uploader"  class="xiaoge" accept=".jpg,.jpge,.png,.gif" id="imgupload" style="display:none;">
			<div class="knowledgexjwjylbodymain" ng-if="windowsClose"  >
				<div class="knowledgexjwjylbodymainbj" style="" ng-click="isHideFun(0)" >
				</div>
				<div class="knowledgemainview">
					<div class="knowledge_structure_adddy">			
						<div class="knowledge_structure_addr">
							<div class="knowledge_structure_add">
								<div class="knowledge_structure_add_title">						
									<div class="knowledge_structure_add_titlel ">试题属性</div>
									<div class="knowledge_structure_add_titlezwf"></div>
									<div class="knowledge_structure_add_titler">
										<div class="close" ng-click="isHideFun()">
											<span>+</span>
										</div>
									</div>

								</div>
								<div class="knowledge_structure_add_main">
									<div class="knowledge_structure_add_column">
										<ul class="knowledge_structure_add_jdsz">
											<li><div class="knowledge_structure_add_jdszr">                                                              
                                                       <textupload1 uploader="uploader" mymodel="paramsList[0].txt" mytxt="questionObj.question_name" ng-if="paramsList[0].isShow" ></textupload1>                                                                           
                                                        <textarea ng-model="questionObj.question_name" ng-blur="closeTxt(paramsList[0])" ng-focus="openTxt(questionObj.question_name,0)"  placeholder="请在此输入问题"  style="width: 100%; height: 90%; border: 1px solid #ddd"></textarea>                                                                                                                                                                                               
                                                <div></div>
												<div style="line-height: 34px; padding-left: 5px;border-left: 1px solid #ddd;margin-left: 5px;width: 15%;">
                                                    <span> 题目类型 </span>
													<select ng-change="OptionInitFun()" ng-model="questionObj.questions_Type" class="xiaoge">
														<option ng-repeat="item in questions_Typelist" value="{{item.num}}" > {{item.name}}</option>
													</select>
												</div>
											</div></li>



										</ul>
									</div>
									<div class="knowledge_structure_add_column" style="background: #f4f4f4">
										<!--综合题-->
										<ul ng-if="questionOptionListShow('7')" class="knowledge_structure_add_jdsz" >
											<li style="background: #eee; border-bottom:  1px #ddd solid">
												<div>增加子题：</div>
												<div style="margin-right: 10px;" >
													<div ng-click="comprehensiveChildOption('1')" class="train_liebiao_Add"><svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg><span> 单选</span></div>
												</div>
												<div style="margin-right: 10px;" >
													<div ng-click="comprehensiveChildOption('2')"  class="train_liebiao_Add"><svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg><span> 多选</span></div>
												</div>
												<div style="margin-right: 10px;" >
													<div  ng-click="comprehensiveChildOption('3')" class="train_liebiao_Add"><svg class="icon" aria-hidden="true">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg><span> 判断</span></div>
												</div>
												<div style="margin-right: 10px;" >
													<div ng-click="comprehensiveChildOption('4')"  class="train_liebiao_Add" ><svg class="icon" aria-hidden="true" >  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg><span> 问答</span></div>
												</div>
											</li>

											<!--综合题子题 start-->
											<!--单选题-->

											<ul ng-repeat="comprehensiveChilditem in comprehensiveChildList | filter:{type : '1'} "  class="knowledge_structure_add_jdsz knowledge_structure_add_jdszs" >
												<li>
                                                    <textupload1 uploader="uploader" mymodel="paramsList[$index+1].txt" mytxt="comprehensiveChilditem.title"   ng-if="paramsList[$index+1].isShow" ></textupload1>
                                                     <input type="text" ng-model="comprehensiveChilditem.title"  class="xiaoge" style="width: 400px" ng-blur="closeTxt(paramsList[$index+1])" ng-focus="openTxt(comprehensiveChilditem.title,$index+1)">
													<div class="knowledge_structure_add_sxr"></div><span ng-click="addOptionlist(comprehensiveChilditem)" style="float:right; color: #39f"><svg class="icon" >  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg> 增加选项</span>
												</li>
												<div class="clearthis" ng-click="clearcomprehensiveChildList(comprehensiveChilditem,comprehensiveChildList)">单选题 <span  class="iconfont">&#xe606;</span></div>
                                                <li>													
													<div >
                                                        答案															
													</div>
													<div style="width:374px">
                                                        
                                                    </div>													
												    <div>
                                                        删除
                                                    </div>
												</li>
												<li ng-repeat="OptionItem in comprehensiveChilditem.OptionList track by $index">
													<div >
														<div ng-class="{active:OptionItem.check}"  ng-click="questionAnswerFun($index,comprehensiveChilditem)" title="点击选择答案" class="danxuan">
															<span></span>
														</div>
														<span>选项{{OptionItem.option}}</span>
                                                        <textupload1 uploader="uploader" mymodel="paramsList[$index+comprehensiveChildList.length+100].txt" mytxt="OptionItem.optionvalue"   ng-if="paramsList[$index+comprehensiveChildList.length+100].isShow" ></textupload1>
                                                     <input type="text" ng-model="OptionItem.optionvalue"  class="xiaoge" style="width: 400px" ng-blur="closeTxt(paramsList[$index+comprehensiveChildList.length+100])" ng-focus="openTxt(OptionItem.optionvalue,$index+comprehensiveChildList.length+100)">
													</div>
													<span ng-click="delOptionlist(OptionItem,comprehensiveChilditem)" class="iconfont">&#xe606;</span>

												</li>
												<li ng-show="params.paper_id!=''"><div >
													<span>分数</span>
													<input type="text" ng-model="comprehensiveChilditem.score" class="xiaoge"></div></li>
													<li ><div class="knowledge_structure_add_sxl"><label for="">答案解析</label></div><div >
														<div >
															<textarea  ng-model="comprehensiveChilditem.answerAnalysis" class="xiaoge" style="width: 350px">
															</textarea>
														</div>
													</div></li>
												</ul>
												<!--多选-->
												<ul  ng-repeat="comprehensiveChilditem in comprehensiveChildList | filter:{type : '2'}"  class="knowledge_structure_add_jdsz knowledge_structure_add_jdszs" >
													<li>
														<span>题干:
                                                        <textupload1 uploader="uploader" mymodel="paramsList[$index+200].txt"  mytxt="comprehensiveChilditem.title"   ng-if="paramsList[$index+200].isShow" ></textupload1>
                                                     <input type="text" ng-model="comprehensiveChilditem.title"  class="xiaoge" style="width: 400px" ng-blur="closeTxt(paramsList[$index+200])" ng-focus="openTxt(comprehensiveChilditem.title,$index+200)">
                                                        </span>
														<span ng-click="addOptionlist(comprehensiveChilditem)" style="float:right; color: #39f"><svg class="icon" >  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg> 增加选项</span>
													</li>
													<div class="clearthis" ng-click="clearcomprehensiveChildList(comprehensiveChilditem,comprehensiveChildList)" > 多选题 <span class="iconfont">&#xe606;</span></div>
                                                    <li>													
													    <div >
                                                            答案															
													    </div>
													    <div style="width:374px">
                                                        
                                                        </div>													
												        <div>
                                                            删除
                                                        </div>
												    </li>
													<li ng-repeat="OptionItem in comprehensiveChilditem.OptionList track by $index">
														<div >
															<div ng-class="{active:OptionItem.check}"  ng-click="questionAnswerFun($index,comprehensiveChilditem)" class="duoxuan">
																<span></span>
															</div>
															<span>选项{{OptionItem.option}}</span>
                                                            <textupload1 uploader="uploader" mymodel="paramsList[$index+comprehensiveChildList.length+300].txt"  mytxt="OptionItem.optionvalue"   ng-if="paramsList[$index+comprehensiveChildList.length+300].isShow" ></textupload1>
                                                            <input type="text" ng-model="OptionItem.optionvalue"  class="xiaoge" style="width: 400px" ng-blur="closeTxt(paramsList[$index+comprehensiveChildList.length+300])" ng-focus="openTxt(OptionItem.optionvalue,$index+comprehensiveChildList.length+300)">
														</div>
														<span ng-click="delOptionlist(OptionItem,comprehensiveChilditem)" class="iconfont">&#xe606;</span>

													</li>
													<li><div >
														<span>分数</span>
														<input type="text" ng-model="comprehensiveChilditem.score" class="xiaoge"></div></li>
														<li ><div class="knowledge_structure_add_sxl"><label for=""><i class="iconfont">&#xe6f3;</i>答案解析</label></div><div >
															<div >
																<textarea ng-model="comprehensiveChilditem.answerAnalysis" class="xiaoge" style="width: 350px">
																</textarea>
															</div>
														</div></li>

													</ul>
													<!--判断题-->
													<ul  ng-repeat="comprehensiveChilditem in comprehensiveChildList | filter:{type : '3'}"  class="knowledge_structure_add_jdsz  knowledge_structure_add_jdszs" >
														<li>
															<span>题干:
                                                              <textupload1 uploader="uploader" mymodel="paramsList[$index+400].txt"   mytxt="comprehensiveChilditem.title"  ng-if="paramsList[$index+400].isShow" ></textupload1>
                                                              <input type="text" ng-model="comprehensiveChilditem.title"  class="xiaoge" style="width: 400px" ng-blur="closeTxt(paramsList[$index+400])" ng-focus="openTxt(comprehensiveChilditem.title,$index+400)">
                                                            </span>
														</li>
														<div class="clearthis" ng-click="clearcomprehensiveChildList(comprehensiveChilditem,comprehensiveChildList)">判断题 
															<span   class="iconfont">&#xe606;</span>
														</div>
														<li >
															<div >
																<div ng-class="{active:comprehensiveChilditem.answer=='对'}"  ng-click="questionAnswerFun('对',comprehensiveChilditem)" class="danxuan">
																	<span></span>
																</div>
																<span>对</span>

															</div>
														</li>

														<li >
															<div >
																<div ng-class="{active:comprehensiveChilditem.answer=='错'}" ng-click="questionAnswerFun('错',comprehensiveChilditem)" class="danxuan">
																	<span></span>
																</div>
																<span>错</span>
															</div>
														</li>
														<li><div >
															<span>分数</span>
															<input type="text" ng-model="comprehensiveChilditem.score" class="xiaoge"></div></li>

															<li ><div class="knowledge_structure_add_sxl"><label for=""><i class="iconfont">&#xe6f3;</i>答案解析</label></div><div >
																<div >
																	<textarea ng-model="comprehensiveChilditem.answerAnalysis" class="xiaoge" style="width: 350px">
																	</textarea>
																</div>
															</div></li>
														</ul>

														<ul  ng-repeat="comprehensiveChilditem in comprehensiveChildList | filter:{type : '4'}"  class="knowledge_structure_add_jdsz knowledge_structure_add_jdszs">
															<li>
																<span>题干: 
                                                                      <textupload1 uploader="uploader" mymodel="paramsList[$index+500].txt"  mytxt="comprehensiveChilditem.title"  ng-if="paramsList[$index+500].isShow" ></textupload1>
                                                              <input type="text" ng-model="comprehensiveChilditem.title"  class="xiaoge" style="width: 400px" ng-blur="closeTxt(paramsList[$index+500])" ng-focus="openTxt(comprehensiveChilditem.title,$index+500)">
                                                                </span>
															</li>
															<div class="clearthis" ng-click="clearcomprehensiveChildList(comprehensiveChilditem,comprehensiveChildList)">问答题 
																<span  class="iconfont">&#xe606;</span>
															</div>
															<li ng-show="params.paper_id!=''"><div >
																<span>分数</span>
																<input type="text" ng-model="comprehensiveChilditem.score" class="xiaoge"></div></li>
																<li ><div class="knowledge_structure_add_sxl"><label for=""><i class="iconfont">&#xe6f3;</i>答案解析</label></div><div >
																	<div >
																		<textarea ng-model="comprehensiveChilditem.answerAnalysis" class="xiaoge" style=" width: 350px; ">
																		</textarea>
																	</div>
																</div></li>

															</ul>
															<!--综合题子题 end-->

														</ul>
														<!--单选-->
														<ul  ng-if="questionOptionListShow('1')"  class="knowledge_structure_add_jdsz">
                                                            <li>													
													            <div>
                                                                    答案															
													            </div>	
                                                                <div style="width:450px;"></div>													          										
												                <div>
                                                                    删除
                                                                </div>
                                                            </li>
															<li ng-repeat="OptionItem in OptionList track by $index">
																<div >
																	<div ng-class="{active:OptionItem.check}" ng-click="questionAnswerFun($index)" class="danxuan"> <span></span>

																	</div>
																	<span>选项{{OptionItem.option}}</span>
                                                                    <textupload1 uploader="uploader" mymodel="paramsList[$index+OptionList.length+1].txt" mytxt="OptionItem.optionvalue"   ng-if="paramsList[$index+OptionList.length+1].isShow" ></textupload1>
                                                                <input type="text" ng-model="OptionItem.optionvalue"  class="xiaoge" style="width: 400px" ng-blur="closeTxt(paramsList[$index+OptionList.length+1])" ng-focus="openTxt(OptionItem.optionvalue,$index+OptionList.length+1)">
																</div>
																<span ng-click="delOptionlist(OptionItem)" class="iconfont" style="float: right;">&#xe606;</span>
                                                                
															</li>
															<li ng-show="isShow" >
																<div class="knowledge_structure_add_sxr"></div><div style="width: 100%"><span ng-click="addOptionlist()" style="color: #39f"><svg class="icon" style="font-size:18px">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg> {{addOptiontext}}</span></div>
															</li>
														</ul>
														<!--多选-->
														<ul ng-if="questionOptionListShow('2')"  class="knowledge_structure_add_jdsz">
                                                            <li>													
													            <div>
                                                                    答案															
													            </div>	
                                                                <div style="width:450px;"></div>												          											
												                <div>
                                                                    删除
                                                                </div>
                                                            </li>
															<li ng-repeat="OptionItem in OptionList track by $index">
																<div >
																	<div ng-class="{active:OptionItem.check}" ng-click="questionAnswerFun($index)" class="duoxuan">
																		<span></span>
																	</div>
																	<span>选项{{OptionItem.option}}</span>
                                                                        <textupload1 uploader="uploader" mymodel="paramsList[$index+OptionList.length+1].txt" mytxt="OptionItem.optionvalue"  ng-if="paramsList[$index+OptionList.length+1].isShow" ></textupload1>
                                                                        <input type="text" ng-model="OptionItem.optionvalue"  class="xiaoge" style="width: 400px" ng-blur="closeTxt(paramsList[$index+OptionList.length+1])" ng-focus="openTxt(OptionItem.optionvalue,$index+OptionList.length+1)">
                                                                </div>
																<span ng-click="delOptionlist(OptionItem)" class="iconfont">&#xe606;</span>

															</li>
															<li ng-show="isShow" >
																<div class="knowledge_structure_add_sxr"></div><div style="width: 100%"><span ng-click="addOptionlist()" style="color: #39f"><svg class="icon" style="font-size:18px">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg> {{addOptiontext}}</span></div>
															</li>

														</ul>
														<!--判断题-->
														<ul ng-if="questionOptionListShow('3')" class="knowledge_structure_add_jdsz">
															<li >

																<div >
																	<div ng-class="{active:questions_Json.answer=='对'}" ng-click="questionAnswerFun('对')" class="danxuan">
																		<span></span>
																	</div>
																	<span>对</span>

																</div>
															</li>

															<li >
																<div >
																	<div ng-class="{active:questions_Json.answer=='错'}" ng-click="questionAnswerFun('错')" class="danxuan">
																		<span></span>
																	</div>
																	<span>错</span>

																</div>
															</li>

														</ul>
														<!--填空题-->
														<ul ng-if="questionOptionListShow('5')" class="knowledge_structure_add_jdsz">
															<li  ng-repeat="questiontiankonganswerListitem in questiontiankonganswerList  track by $index">
																<div >{{$index+1}}、填空答案：
																	<span  style="border-bottom: 1px #ccc solid;
																	padding: 0 5px;" ng-bind="questiontiankonganswerListHtml(questiontiankonganswerListitem)"></span>
																</div>
															</li>

														</ul>

														<!--B型题-->
														<ul ng-if="questionOptionListShow('6')" class="knowledge_structure_add_jdsz">
															<li  ng-repeat="BxingQuestionListitem in BxingQuestionList  track by $index">
																<div>
																	题干:
                                                                    <textupload1 uploader="uploader" mymodel="paramsList[$index+1].txt"  mytxt="BxingQuestionListitem.title"    ng-if="paramsList[$index+1].isShow" ></textupload1>
                                                              <input type="text" ng-model="BxingQuestionListitem.title" placeholder="子题题干"   class="xiaoge" ng-blur="closeTxt(paramsList[$index+1])" ng-focus="openTxt(BxingQuestionListitem.title,$index+1)">
																	<span>答案:
                                                                    <textupload1 uploader="uploader" mymodel="paramsList[$index+BxingQuestionList.length+1].txt"   mytxt="BxingQuestionListitem.option"   ng-if="paramsList[$index+BxingQuestionList.length+1].isShow" ></textupload1>
                                                                    <input type="text" style="width:50px" ng-model="BxingQuestionListitem.option" placeholder="例如 A"   class="xiaoge" ng-blur="closeTxt(paramsList[$index+BxingQuestionList.length+1])" ng-focus="openTxt(BxingQuestionListitem.option,$index+BxingQuestionList.length+1)"></span>
                                                                    
																	<span ng-show="params.paper_id!=''">分数</span>
																	<input ng-show="params.paper_id!=''" style="width:30px" type="text" ng-model="BxingQuestionListitem.score" class="xiaoge">
																	<span>解析</span>
																	<input style="width:80px" type="text" ng-model="BxingQuestionListitem.answerAnalysis" class="xiaoge">
																</div>
																<span ng-click="DelBxingQuestionListFun($index)" class="iconfont">&#xe606;</span>
															</li>
															<li ng-show="isShow" >
																<div class="knowledge_structure_add_sxr"></div><div style="width: 100%"><span ng-click="addOptionlist()" style="color: #39f"><svg class="icon" style="font-size:18px">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg> {{addOptiontext}}</span></div>
															</li>
														</ul>


													</div>
													<div class="knowledge_structure_add_column">
														<ul class="knowledge_structure_add_columnejsdjs">

															<li ng-show="params.paper_id!=''"><div >
																<span><i class="iconfont">&#xe74f;</i>分数</span>
																<input type="text" ng-readonly="isreadonly" ng-model="questions_Json.score" class="xiaoge"></div></li>
																<li>
                                                                        <div class="knowledge_structure_add_sxl">
                                                                            <label for=""><i class="iconfont">&#xe709;</i>题目分类</label>
                                                                        </div>
                                                               <div  style="width: 100%;">
                                                                <input type="text"  style="width: 50%;"  ng-model="questionObj.knowledge_Name" readonly="readonly" placeholder="请选择题目所属的知识分类" class="xiaoge">
                                                                <span  ng-click="knowConfigAdd.isShow=true"  style="color: #39f; cursor:pointer;">
                                                <svg class="icon">  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-tianjia"></use></svg>
                                                选择题目分类</span>

                                                                </div></li>
																<li><div class="knowledge_structure_add_sxl"><label for=""><i class="iconfont">&#xe6e3;</i>试题难度</label></div><div >
																	<div style="line-height: 34px; padding-left: 5px;">
																		<select ng-model="questionObj.difficulty" class="xiaoge">
																			<option ng-repeat="item in paperDifficultylist" value="{{item.num}}" > {{item.name}}</option>
																		</select>
																	</div>
																</div></li>

																<li ng-show="questionObj.questions_Type!='7'&&questionObj.questions_Type!='6'"><div class="knowledge_structure_add_sxl"><label for=""><i class="iconfont">&#xe631;</i>答案解析</label></div><div >
																	<div >
																		<textarea ng-model="questions_Json.answerAnalysis">
																		</textarea>

																	</div>
																</div></li>



															</ul>
														</div>
													</div>
												</div>                                                   
												<knowledge-selector know-config="knowConfig" ng-if="knowConfig.isShow" on-callback="onCallback()"></knowledge-selector>
												<knowledge-selector know-config="knowConfigAdd" ng-if="knowConfigAdd.isShow" on-callback="onCallbackSerAdd()"></knowledge-selector>

												<selectormodal  ng-if="personData.ApiOpen" apidata="personData" ></selectormodal>
												<div class="knowledge_structure_add_footer" style="position: relative;"><button class="btn" ng-click="btnSave()" style=" z-index:999; bottom:10px;">保存</button></div>
											</div>
										</div>
									</div>
								</div> 
								<!--iframe -->
								<div ng-show="iframeShow"  style="background: #999; position: fixed; top: 0; left: 0; width: 100%; height: 100%;z-index: 999;">
									<div class="title" style=" color:#fff; font-size: 24px;margin: 3px;">
										题目导入
									</div>
									<div class="close" id="close"  ng-click="closeuser()"  style=" color:#fff; font-size: 42px; margin: 8px;">
										<span>+</span></div>

										<iframe  ng-style="modalStyle" id="main" name="mainname"  ng-src="{{someUrl}}" frameborder="0" ></iframe>
									</div> 
									<input type="hidden" id="itemobj" value="">

								</div>
